package dao;

import java.util.List;

import bean.Flight;
import bean.FlightUpdate;
import exception.DAOException;

public interface FlightDAO {
	
	List<Flight> viewFlights() throws DAOException;
	
	List<Flight> searchFlights(String source, String destination, String startDate, String returnDate, String tripType, int numTravelers) throws DAOException;
	
	List<Flight> getFlightDetails(String flightIds);
	
	Flight changeFlightInfo(String flightNumber,String airlineName,String source,String destination,int numSeats,String pilotName,String intermediate,String intermediateArrivalTime,String intermediateDepartureTime,String timeOfFlight,double ticketPrice,String status,long flightId) throws DAOException;
	
	List<FlightUpdate> retrieveFlightUpdates(long personId);
	
	List<String> retrieveCities() throws DAOException;

}
